package com.agg.domain.command;


import com.agg.core.base.dao.IBaseMapper;
import com.agg.core.base.dto.ExtDTO;

/**
 * 查询结果返回列表命令
 * @param <T>
 */
public class QueryListCmd<T> extends BaseCmd {

    private QueryListCmd(){

    }

    public QueryListCmd(IBaseMapper mapper){
        this.setMapper(mapper);
    }

    private  T entity;

    private ExtDTO ext;

    public T getEntity() {
        return entity;
    }

    public void setEntity(T entity) {
        this.entity = entity;
    }

    public ExtDTO getExt() {
        return ext;
    }

    public void setExt(ExtDTO ext) {
        this.ext = ext;
    }


}
